/*
index.html
book.html 书籍详情
shopping-cart.html
order.html
user.html
*/
.topBar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  background-color: #f2f2f2;
  font-size: 12px;
}

.topBar p {
  display: inline;
}

.topBar .tb-center {
  display: flex;
  width: 1000px;
  justify-content: space-between;
}

.topBar p,
.topBar a {
  margin: 0 10px;
}

.topBar a:link,
.topBar a:visited,
.topBar a:active {
  color: #999;
}


/* search bar 部分 */

.searchBar {
  display: flex;
  justify-content: center;
  height: 110px;
  margin-top: 10px;
}

.searchBar .sb-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1000px;
}

.searchBar .logo {
  display: flex;
  height: 65px;
  /* logo 图片高度 */
}

.searchBar .logo img {
  display: inline-block;
  margin: 0 20px;
}

.searchBar .searchArea {
  display: flex;
  height: 40px;
  outline: #e60000 solid 2px;
}

.searchBar .searchArea .sb-area {
  width: 500px;
  height: 40px;
  outline: 0;
  border: 0;
  padding: 0 20px;
}

.searchBar .searchArea .sb-button {
  width: 120px;
  height: 40px;
  background-color: #e60000;
  color: #fff;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  border: none;
  outline: none;
}


/* nav category 部分 */

.navCategory {
  display: flex;
  justify-content: center;
  height: 40px;
  border-bottom: 2px solid #e60000;
}

.navCategory .nc-center {
  width: 1200px;
}

.navCategory ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.navCategory li {
  display: inline-block;
  margin: 0 10px;
  line-height: 40px;
  font-size: 18px;
  font-family: "Microsoft YaHei";
}

.navCategory a:link,
.navCategory a:visited,
.navCategory a:active {
  color: #333333;
}
